﻿using Ninject;
using NInject.Practice;
using NUnit.Framework;

namespace NInject.Tests
{
    [TestFixture]
    public class MessageSenderTester
    {
        private IKernel _kernel;

        [SetUp]
         public void RegisterModules()
        {
             _kernel= ApplicationBootstrap.RegisterKernel();
        }

        [Test]
        public void SendMessageTest()
        {
           var application= _kernel.Get<Application>();

            application.Run();
        }
    }
}